const Router = require('koa-router')

const { FindAll, FindOne } = require('../controller/pet.controller')

const router = new Router({ prefix: '/pet' })

// 获取宠物列表
router.get('/', FindAll)

// 获取宠物信息
router.get('/:id', FindOne)


module.exports = router